\section{DAO.messagesDao类参考}
\label{class_d_a_o_1_1messages_dao}\index{DAO::messagesDao@{DAO::messagesDao}}
\subsection*{公有成员}
\begin{DoxyCompactItemize}
\item 
IList$<$ {\bf messages} $>$ {\bf FindAll\_\-messages} ()
\begin{DoxyCompactList}\small\item\em 获得所有记录 \item\end{DoxyCompactList}\item 
IList$<$ {\bf messages} $>$ {\bf FindAllByPage\_\-messages} (string start, string limit, string conditions)
\begin{DoxyCompactList}\small\item\em 分页获取数据 \item\end{DoxyCompactList}\item 
string {\bf GetCount\_\-messages} (string conditions)
\begin{DoxyCompactList}\small\item\em 查找符合条件记录的总条数 \item\end{DoxyCompactList}\item 
{\bf messages} {\bf FindById\_\-messages} (int id)
\begin{DoxyCompactList}\small\item\em 根据id查找相应的一条记录 \item\end{DoxyCompactList}\item 
bool {\bf Add\_\-messages} ({\bf messages} \_\-messages)
\begin{DoxyCompactList}\small\item\em 添加新纪录 \item\end{DoxyCompactList}\item 
bool {\bf Update\_\-messages} ({\bf messages} \_\-messages)
\begin{DoxyCompactList}\small\item\em 更新对象 \item\end{DoxyCompactList}\item 
bool {\bfseries Update\_\-messages} (string sets, string conditions)\label{class_d_a_o_1_1messages_dao_a25bd20858f3a199515446e45a997b4b0}

\item 
bool {\bf Del\_\-messages} ({\bf messages} \_\-messages)
\begin{DoxyCompactList}\small\item\em 删除记录 \item\end{DoxyCompactList}\item 
bool {\bfseries Del\_\-messages} (string conditions)\label{class_d_a_o_1_1messages_dao_ae7421fe761cd3b70e65211df9886472c}

\item 
IList$<$ {\bf messages} $>$ {\bf FindByCondition\_\-messages} (string conditions)
\begin{DoxyCompactList}\small\item\em 根据条件查询记录 \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{成员函数文档}
\index{DAO::messagesDao@{DAO::messagesDao}!Add\_\-messages@{Add\_\-messages}}
\index{Add\_\-messages@{Add\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{Add\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.messagesDao.Add\_\-messages (
\begin{DoxyParamCaption}
\item[{{\bf messages}}]{ \_\-messages}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a903a9be5e4bdf1ce7e6a7daee4141d8a}


添加新纪录 


\begin{DoxyParams}{参数}
{\em messages} & 实体\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回是否成功
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!Del\_\-messages@{Del\_\-messages}}
\index{Del\_\-messages@{Del\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{Del\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.messagesDao.Del\_\-messages (
\begin{DoxyParamCaption}
\item[{{\bf messages}}]{ \_\-messages}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a51e567cf3471ddf9c497286e5870ecd3}


删除记录 


\begin{DoxyParams}{参数}
{\em messages} & 实体\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回是否成功
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!FindAll\_\-messages@{FindAll\_\-messages}}
\index{FindAll\_\-messages@{FindAll\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{FindAll\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}IList$<${\bf messages}$>$ DAO.messagesDao.FindAll\_\-messages (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_adb73c0fa3a5b39236fea57c94928c621}


获得所有记录 

\begin{DoxyReturn}{返回}
返回所有记录IList
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!FindAllByPage\_\-messages@{FindAllByPage\_\-messages}}
\index{FindAllByPage\_\-messages@{FindAllByPage\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{FindAllByPage\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}IList$<${\bf messages}$>$ DAO.messagesDao.FindAllByPage\_\-messages (
\begin{DoxyParamCaption}
\item[{string}]{ start, }
\item[{string}]{ limit, }
\item[{string}]{ conditions}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a5b52920d58a1ae8f0c63ccd69455ecff}


分页获取数据 


\begin{DoxyParams}{参数}
{\em start} & 起始记录号\\
\hline
{\em limit} & 每页记录数\\
\hline
{\em conditions} & 查询条件\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回符合记录的当前页数据
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!FindByCondition\_\-messages@{FindByCondition\_\-messages}}
\index{FindByCondition\_\-messages@{FindByCondition\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{FindByCondition\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}IList$<${\bf messages}$>$ DAO.messagesDao.FindByCondition\_\-messages (
\begin{DoxyParamCaption}
\item[{string}]{ conditions}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a7d934e846576e62f6ae64b0f422bacab}


根据条件查询记录 


\begin{DoxyParams}{参数}
{\em conditions} & 条件\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回符合条件的IList
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!FindById\_\-messages@{FindById\_\-messages}}
\index{FindById\_\-messages@{FindById\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{FindById\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}{\bf messages} DAO.messagesDao.FindById\_\-messages (
\begin{DoxyParamCaption}
\item[{int}]{ id}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a2b40267d8bbeca5611558edfe07d3218}


根据id查找相应的一条记录 


\begin{DoxyParams}{参数}
{\em id} & 要查找的ID号\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回值
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!GetCount\_\-messages@{GetCount\_\-messages}}
\index{GetCount\_\-messages@{GetCount\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{GetCount\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}string DAO.messagesDao.GetCount\_\-messages (
\begin{DoxyParamCaption}
\item[{string}]{ conditions}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a006098b8ce659880c2443466cbf2b492}


查找符合条件记录的总条数 


\begin{DoxyParams}{参数}
{\em conditions} & 查询条件\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回符合的记录条数
\end{DoxyReturn}
\index{DAO::messagesDao@{DAO::messagesDao}!Update\_\-messages@{Update\_\-messages}}
\index{Update\_\-messages@{Update\_\-messages}!DAO::messagesDao@{DAO::messagesDao}}
\subsubsection[{Update\_\-messages}]{\setlength{\rightskip}{0pt plus 5cm}bool DAO.messagesDao.Update\_\-messages (
\begin{DoxyParamCaption}
\item[{{\bf messages}}]{ \_\-messages}
\end{DoxyParamCaption}
)}\label{class_d_a_o_1_1messages_dao_a87d003630528c74805241a3b2e453dee}


更新对象 


\begin{DoxyParams}{参数}
{\em messages} & 实体\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{返回}
返回是否成功
\end{DoxyReturn}


该类的文档由以下文件生成：\begin{DoxyCompactItemize}
\item 
D:/Project/1101/DAO/messagesDao.cs\end{DoxyCompactItemize}
